app.service("invoiceBatchService",function ($http) {

    this.findPage = function (pageNum, pageSize, searchEntity) {
        return $http.post("../invoiceBatch/findPage?pageNum=" + pageNum + "&pageSize=" + pageSize,searchEntity);
    };

    this.updateInvoiceStatus = function (invoiceBatchStatus,invoiceBatchParamList) {
        return $http.post("../invoiceBatch/updateInvoiceStatus?invoiceBatchStatus=" + invoiceBatchStatus,invoiceBatchParamList);
    };
    
    this.findOne = function (applyNumber) {
        return $http.get("../invoiceBatch/findOne?applyNumber=" + applyNumber);
    };
    this.findInfo = function (applyNumber) {
        return $http.get("../invoiceBatch/findInfo?applyNumber=" + applyNumber);
    };

});